package com.itheima.web.servlet;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/* 用户管理  CURD
 */
@WebServlet("/productServlet")
public class ProductServlet extends HttpServlet {


    public void add(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        try {
            System.out.println("添加商品");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    public void findAll(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        System.out.println("查询商品集合");
    }


}
